package com.sm.appbase.example.net;


import com.sm.appbase.example.UserInfo;
import com.sm.appbase.net.base.BaseResult;

import io.reactivex.Observable;
import retrofit2.http.POST;

public interface AccountAPIService {
//<editor-folder desc="账户相关API">

    /**
     * 登陆
     */
    @POST("app/user/login")
    public Observable<BaseResult<UserInfo>> login(String username, String password);

}
